Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.platform.routing.CoreExtensions

Contributions

XML Source

<component name="org.nuxeo.ecm.platform.routing.CoreExtensions"
  version="1.0">

  <require>org.nuxeo.ecm.core.CoreExtensions</require>

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
    <schema name="base" src="schemas/base.xsd" />
    <schema name="document_route_instance" prefix="docri"
      src="schemas/document_route_instance.xsd" />
    <schema name="document_route_model" prefix="docrm"
      src="schemas/document_route_model.xsd" />
    <schema name="step_folder" prefix="stepf" src="schemas/step_folder.xsd" />
    <schema name="info_comments" src="schemas/info_comments.xsd" prefix="infocom" />
    <schema name="conditional_step_folder" prefix="condstepf"
      src="schemas/conditional_step_folder.xsd" />
    <schema name="route_node" prefix="rnode" src="schemas/route_node.xsd" />
  </extension>

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">

    <facet name="Routable" />
    <facet name="DocumentRoute" />
    <facet name="RouteStep" />
    <facet name="StepFolder" />

    <facet name="RoutingTask" />

    <facet name="CommentsInfoHolder">
      <schema name="info_comments" />
    </facet>

    <facet name="ConditionalStepFolder">
      <schema name="conditional_step_folder" />
    </facet>

    <doctype name="DocumentRouteInstancesRoot" extends="Folder">
      <facet name="HiddenInNavigation" />
      <facet name="SystemDocument" />
      <subtypes>
        <type>HiddenFolder</type>
      </subtypes>
    </doctype>

    <doctype name="DocumentRouteModelsRoot" extends="Folder">
      <facet name="HiddenInNavigation" />
      <facet name="SystemDocument" />
      <subtypes>
        <type>Folder</type>
      </subtypes>
    </doctype>

    <doctype name="Domain" extends="Folder">
      <facet name="SuperSpace" />
      <subtypes>
        <type>DocumentRouteInstancesRoot</type>
      </subtypes>
    </doctype>

    <doctype name="DocumentRoute" extends="StepFolder">
      <facet name="DocumentRoute" />
      <facet name="SystemDocument" />
      <schema name="document_route_instance" />
      <schema name="document_route_model" />
      <subtypes>
        <type>StepFolder</type>
        <type>DocumentRouteStep</type>
        <type>ConditionalStepFolder</type>
      </subtypes>
    </doctype>

    <doctype name="StepFolder" extends="OrderedFolder">
      <facet name="HiddenInNavigation" />
      <facet name="StepFolder" />
      <facet name="SystemDocument" />
      <schema name="step_folder" />
      <subtypes>
        <type>StepFolder</type>
        <type>DocumentRouteStep</type>
        <type>RouteNode</type>
      </subtypes>
    </doctype>

    <doctype name="DocumentRouteStep" extends="Document">
      <schema name="dublincore" />
      <facet name="RouteStep" />
      <facet name="Commentable" />
      <facet name="CommentsInfoHolder" />
      <facet name="SystemDocument" />
    </doctype>

    <doctype name="ConditionalStepFolder" extends="StepFolder">
      <facet name="ConditionalStepFolder" />
      <facet name="SystemDocument" />
      <subtypes>
        <type>StepFolder</type>
        <type>DocumentRouteStep</type>
      </subtypes>
    </doctype>

    <doctype name="RouteNode" extends="Document">
      <facet name="HiddenInNavigation" />
      <facet name="SystemDocument" />
      <facet name="NotFulltextIndexable" />
      <schema name="dublincore" />
      <schema name="route_node" />
      <prefetch>rnode:nodeId</prefetch>
    </doctype>

  </extension>

</component>